package cn.getech.data.development.model.req.procjobstatistics;

import cn.getech.data.intelligence.common.validator.group.AddGroup;
import cn.getech.data.intelligence.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(description = "项目任务运行统计")
@Data
public class ProcJobStatisticsCompleteReq {
    @ApiModelProperty(value = "项目id 0:所有 其他值是各项目id")
    @NotNull(message = "项目id不能为空", groups = {AddGroup.class, UpdateGroup.class})
    private Integer procId;

    @ApiModelProperty(value = "类型 1:今日 2:本周  3:本月")
    @NotNull(message = "类型不能为空", groups = {AddGroup.class, UpdateGroup.class})
    private Integer type;
}
